/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2014 All Rights Reserved.
 */
package com.alipay.constants;

/**
 * 支付宝服务窗环境常量（demo中常量只是参考，需要修改成自己的常量值）
 * 
 * @author taixu.zqq
 * @version $Id: AlipayServiceConstants.java, v 0.1 2014年7月24日 下午4:33:49 taixu.zqq Exp $
 */
public class AlipayServiceEnvConstants {

    /**支付宝公钥-从支付宝服务窗获取*/
    public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";

    /**签名编码-视支付宝服务窗要求*/
    public static final String SIGN_CHARSET      = "GBK";

    /**字符编码-传递给支付宝的数据编码*/
    public static final String CHARSET           = "GBK";

    /**签名类型-视支付宝服务窗要求*/
    public static final String SIGN_TYPE         = "RSA";

    /** 服务窗appId  */
    public static final String APP_ID            = "2015012100026811";

    //开发者请使用openssl生成的密钥替换此处  请看文档：https://fuwu.alipay.com/platform/doc.htm#2-1接入指南
    public static final String PRIVATE_KEY       = "MIICXQIBAAKBgQDiFV3AqPWWZW+T+Qziio7CBnadVCE85+DfR0dsna9hCcRXOXyyjZf9Dg/49iqd8oBn3GZSFpiTIBXmIcnDQWqXhX5Ft/AtO8wpZkn6sknODbQ5HQ7E+3CJ/dOinhysbl5yAu2UPB6uMfAJaGo0Zn9UFNdHUCd64Ht6JqraUE9FGwIDAQABAoGBAJDXxXfAB48yL3jqz0F4KZvOzkFfe+fsWtpRbUX+BDU0L7D+KJCwPFaoor0K4STOD0v7HSasSVXA8aa9sOjCSUnThLgNXZN8H9pmK5pD6hWQqIOgqOHbiRk65G8uRZGYXFMU12aeJ+HuIjpXhUXBVHh0Jf4kD0u4yADgQ2+G+6QhAkEA+foHzfBNxi4ZnB1btBkQq9E+3ZZpvTeYJvVhDL612PLbQfUwTYd64dVfGuP6++yMxyo4uX/jiqiRAyCAJHC4ywJBAOeH85bvPaffvJm1T1MiJwwQIY+me+7saj1D7mxSi0sBXkAvEQtV5MN3hxTOG5LDpGfig8sQGOLxieTdvm+gKvECQEAhKdFmXb2C5CUNzxHkAEfj9XnJdbUKRylveAdaAbL3ktJYAZ1SLW80WyK97AynQfJyXX0RVyGiXxlrRBSVKoMCQQCk5frjQLkU2xCkGLHKb8SHnuWIPfZ+j/qKb9tbYt66KNtLszncbOxlGrgmZTTWLmjlZDqhYXGYEJc5XYTIU7bBAkBPeWTEVlPRlJ28evTUcYxJEeZHSKkVSE5+apvcx4RoWSwLcDE8zf+qf94MAbC8+wZRQi9je3gNssCA9jSATdwR";

    //TODO !!!! 注：该公钥为测试账号公钥  开发者必须设置自己的公钥 ,否则会存在安全隐患
    public static final String PUBLIC_KEY        = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDiFV3AqPWWZW+T+Qziio7CBnadVCE85+DfR0dsna9hCcRXOXyyjZf9Dg/49iqd8oBn3GZSFpiTIBXmIcnDQWqXhX5Ft/AtO8wpZkn6sknODbQ5HQ7E+3CJ/dOinhysbl5yAu2UPB6uMfAJaGo0Zn9UFNdHUCd64Ht6JqraUE9FGwIDAQAB";

    /**支付宝网关*/
    public static final String ALIPAY_GATEWAY    = "https://openapi.alipay.com/gateway.do";

    /**授权访问令牌的授权类型*/
    public static final String GRANT_TYPE        = "authorization_code";
}
